
#ifndef RESOURCEDIALOG_H
#define RESOURCEDIALOG_H

#include <BTreeWidget>
#include <BListWidget>
#include <BDialog>

using namespace BWE;

class ResourceDialog : public BDialog
{
	BOBJECT(ResourceDialog)
public:
	ResourceDialog(BWidget* parent = 0);
	~ResourceDialog();

protected:
	void freshTreeItem(BTreeItem* item);

protected:
	virtual void showEvent(const BEvent& event);

private:
	BTreeWidget*		_treeWidget;
	BListWidget*		_listWidget;
};

#endif
